Update an AI Platform connector
PATCHhttps://api.vectorize.io/v1/org/:organization/connectors/aiplatforms/:aiplatformId
Update an AI Platform connector
Request
Path Parameters
organization stringrequired
aiplatformId stringrequired
- application/json
Bodyrequired
config objectrequired
Responses
- 200
- 400
- 401
- 403
- 404
- 500
AI Platform connector successfully updated
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
data objectrequired
{
"message": "string",
"data": {
"updatedConnector": {
"id": "string",
"type": "string",
"name": "string",
"configDoc": {},
"createdAt": "string",
"createdById": "string",
"lastUpdatedById": "string",
"createdByEmail": "string",
"lastUpdatedByEmail": "string",
"errorMessage": "string",
"verificationStatus": "string"
},
"pipelineIds": [
"string"
]
}
}
Invalid request
- application/json
- Schema
- Example (auto)
Schema
errorstringrequired
detailsstring
failedUpdatesstring[]
successfulUpdatesstring[]
{
"error": "string",
"details": "string",
"failedUpdates": [
"string"
],
"successfulUpdates": [
"string"
]
}
Unauthorized
- application/json
- Schema
- Example (auto)
Schema
errorstringrequired
detailsstring
failedUpdatesstring[]
successfulUpdatesstring[]
{
"error": "string",
"details": "string",
"failedUpdates": [
"string"
],
"successfulUpdates": [
"string"
]
}
Forbidden
- application/json
- Schema
- Example (auto)
Schema
errorstringrequired
detailsstring
failedUpdatesstring[]
successfulUpdatesstring[]
{
"error": "string",
"details": "string",
"failedUpdates": [
"string"
],
"successfulUpdates": [
"string"
]
}
Not found
- application/json
- Schema
- Example (auto)
Schema
errorstringrequired
detailsstring
failedUpdatesstring[]
successfulUpdatesstring[]
{
"error": "string",
"details": "string",
"failedUpdates": [
"string"
],
"successfulUpdates": [
"string"
]
}
Internal server error
- application/json
- Schema
- Example (auto)
Schema
errorstringrequired
detailsstring
failedUpdatesstring[]
successfulUpdatesstring[]
{
"error": "string",
"details": "string",
"failedUpdates": [
"string"
],
"successfulUpdates": [
"string"
]
}
Authorization: http
name: bearerAuthtype: httpscheme: bearerbearerFormat: JWT
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Patch, "https://api.vectorize.io/v1/org/:organization/connectors/aiplatforms/:aiplatformId");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"config\": {}\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear